package com.ryskoo.common.dto.permission;

import com.ryskoo.common.dto.BasicDTO;

/**
 * 权限DTO
 *
 * @author Shawn
 */
public class PermissionDTO extends BasicDTO {

    private static final long serialVersionUID = 1427772777741430772L;

    /**
     * 权限名称
     */
    private String name;

    /**
     * 权限所属菜单id
     */
    private String menuId;

    /**
     * 表达式
     */
    private String express;

    /**
     * 状态
     */
    private int type;

    /**
     * 状态
     */
    private boolean state;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }
}